<title>导航列表</title>

<div class="layui-card layadmin-header">
    <div class="layui-breadcrumb" lay-filter="breadcrumb">
        <a lay-href="">主页</a>
        <a><cite>导航列表</cite></a>
    </div>
</div>

<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
            <div class="layui-card">
                <div class="layui-card-header">导航列表</div>
                <div class="layui-card-body">
                    <table class="layui-hide" id="LAY-home-navigate-list"></table>
                    <script type="text/html" id="LAY-home-navigate-header-tools">
                        <div class="layui-btn-container">
                            <!-- <button class="layui-btn layui-btn-sm" lay-event="batchDel">批量删除</button> -->
                            <button class="layui-btn layui-btn-sm" lay-event="addNav">添加导航</button>
<!--                            <button class="layui-btn layui-btn-sm" lay-event="buildHtml">生成静态页</button>-->
                            <button class="layui-btn layui-btn-sm" lay-event="getSitemap">获取Sitemap</button>
<!--                            <button class="layui-btn layui-btn-sm" lay-event="preview">预览静态</button>-->
<!--                            <button class="layui-btn layui-btn-sm" lay-event="publish">发布</button>-->
                        </div>
                    </script>
                    <script type="text/html" id="LAY-home-navigate-tools">
                        <a class="layui-btn layui-btn-warm layui-btn-xs" lay-event="addChild"><i
                                class="layui-icon layui-icon-addition"></i>新增</a>
                        <a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="updateNode"><i
                                class="layui-icon layui-icon-edit"></i>编辑</a>
                        <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delNode"><i
                                class="layui-icon layui-icon-delete"></i>删除</a>
                    </script>
                </div>
            </div>
        </div>
    </div>
</div>
<script type="text/html" id="ID-table-navigate-isshow-switch">
  <!-- 这里的 checked 的状态值判断仅作为演示 -->
  <input type="checkbox" name="isshow" value="{{= d.id }}" title="是|否" lay-skin="switch" lay-filter="navigate-isshow-status" {{= d.isshow == 1 ? "checked" : "" }}>
</script>
<script type="text/html" id="ID-table-navigate-opennew-switch">
  <!-- 这里的 checked 的状态值判断仅作为演示 -->
  <input type="checkbox" name="opennew" value="{{= d.id }}" title="是|否" lay-skin="switch" lay-filter="navigate-opennew-status" {{= d.opennew == 1 ? "checked" : "" }}>
</script>
<script type="text/html" id="ID-table-navigate-is_mobile-switch">
  <!-- 这里的 checked 的状态值判断仅作为演示 -->
  <input type="checkbox" name="is_mobile" value="{{= d.id }}" title="是|否" lay-skin="switch" lay-filter="navigate-is_mobile-status" {{= d.is_mobile == 1 ? "checked" : "" }}>
</script>
<script src="res/modules/navigate.js"></script>